Add gtk_snapshot_push_cross_fade()
authorBenjamin Otte <otte@redhat.com>
Thu, 12 Jan 2017 21:00:38 +0000 (22:00 +0100)
committerBenjamin Otte <otte@redhat.com>
Fri, 13 Jan 2017 02:38:36 +0000 (03:38 +0100)
commitd9b0685b495926af602990e709feaad5822d5724
treefaa60a95b5eb64d64926b7542301813bb8038ef9
parent670ae58cc9c69cb295822e8e41abd9497171404e
Add gtk_snapshot_push_cross_fade()

... and use it.

The function is a bit awkward because it requires 2 calls to
gtk_snapshot_pop(), but once you accept that, it's very convenient to
use, as can be seen by the 2 implementations.
docs/reference/gtk/gtk4-sections.txt
gtk/gtkcssimagecrossfade.c
gtk/gtksnapshot.c
gtk/gtksnapshot.h
gtk/gtksnapshotprivate.h
gtk/gtkstack.c